//
//  AELDrivingTestChoiceCell.swift
//  ActualExaminationLine
//
//  Created by iOS-Czz on 2023/10/29.
//

import UIKit

class AELDrivingTestChoiceCell: UITableViewCell {
    
    @IBOutlet var timeLabel: UILabel!
    
    @IBOutlet var questionLabel: UILabel!
    @IBOutlet var optionLabel: UILabel!
    
    @IBOutlet var answerLabel: UILabel!
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    var model: AELDrivingTestModel? {
        didSet {
            self.questionLabel.text = self.model?.question
            self.answerLabel.text = self.model?.answer
            self.timeLabel.text = "Record time: " + self.model!.date
            self.optionLabel.text = self.model?.options
        }
    }
}
